package com.example.mall.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.mall.entity.Product;
import com.example.mall.param.product.ProductTypeParam;
import com.example.mall.vo.TypeByProductVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper extends BaseMapper<Product> {

    List<TypeByProductVo> productListByTypeName(IPage<TypeByProductVo> page, @Param("param") ProductTypeParam param);

}
